<span class="input-icon">
    <input type="text" class="form-control underline" ng-click="endOpen = !endOpen"
           datepicker-popup="{{to.datepickerPopup}}" ng-disabled="to.readOnly?'disabled':''"
           ng-model="model[options.key]" is-open="endOpen" ng-init="endOpen = false"
           ng-change="to['onChange'](model[options.key], options, this, $event ,model);"
           close-text="关闭" current-text="今天" clear-text="清空" show-weeks="false"/>
    <i class="ti-calendar"></i>
</span>